import java.util.Scanner;

public class HomeWork13_05{
    public static void main(String[] args){
        Scanner scan = new Scanner(System.in);
        CheckScore cs = new CheckScore();
        
        System.out.print("please enter 10 students's score: ");
        int[] scores = new int[10];
        for(int i = 0; i < 10; i++){
            scores[i] = scan.nextInt();
        }
        
        int count = 0;
        for(int item : scores){
            if(!cs.checkScore(item)){
                ++count;
            }
        }
        System.out.println("有" + count + "个人不及格");
        
    }
}

class CheckScore{
    public boolean checkScore(int s){
        if(s >= 60){
            return true;
        }
        return false;
    }
}